<?php
//-- IMMOPHP HACK -- //
$path_to_config = __FILE__;
$path_to_config = str_replace('administration/plugins/extCal/include/config.inc.php','',$path_to_config);
require_once $path_to_config.'/conf/config.php';
// ExtCalendar configuration file

// DB configuration
$CONFIG['dbsystem'] =                       $basesql['type'];    // Your database system
$CONFIG['dbserver'] =                       $basesql['serveur'];    // Your database server
$CONFIG['dbuser'] =                         $basesql['user'];      // Your db username
$CONFIG['dbpass'] =                         $basesql['password'];      // Your db password
$CONFIG['dbname'] =                         $basesql['base'];      // Your database name


// DB TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                "immo_extcal_";

// FS configuration
$CONFIG['FS_PATH'] =                         str_replace('include/config.inc.php','',__FILE__);       // Your file system path
$CONFIG['calendar_url'] =                    $config['url'] . "administration/plugins/extCal/";        // Your calendar web url

?>